package com.dhcc.bpm.modules.scf.entity.HomePage;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.NullSerializer;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 供应商成交排名信息实体类
 */
@Data
public class ScfSelOwnerRanking implements Serializable {
    private static final long serialVersionUID = 1L;
    /**
     * 销售明细记录ROW_ID
     */
    private String rowId;
    /**
     * 排名
     */
    private String ownerRanking;
    /**
     * 供应商名称
     */
    private String ownerName;
    /**
     * 供应商id
     */
    private String ownerNum;
    /**
     * 成交吨数
     */
    @JsonSerialize(nullsUsing = NullSerializer.class)
    private BigDecimal ownerWeight;
    /**
     * 对应减少碳排放量
     */
    @JsonSerialize(nullsUsing = NullSerializer.class)
    private BigDecimal carbonEmissions;
    /**
     * 成交金额
     */
    @JsonSerialize(nullsUsing = NullSerializer.class)
    private BigDecimal ownerAmount;


    private String orgCode;
    private String[] orgCodes;
}
